package com.amit.jsp;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class ChangeLanguage extends HttpServlet {
	
	@Override
	protected void service(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		
		
		String lan=request.getParameter("language");
		
		request.setAttribute("LAN", lan);
		request.getRequestDispatcher("result.jsp").forward(request, response);
		
	}

}
